﻿@model IEnumerable<verk2013_project_group12.Models.FAQ>



@{
    ViewBag.Title = "About"; 
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
    <h2>@ViewBag.Message</h2>
</hgroup>

<div class="aboutBox">
    <p>
       On this site you can play two board games, Tic-tac-toe and Yahtzee. After <a href="http://localhost:50316/Account/Register"> registering</a> an account and <a href="http://localhost:50316/Account/Login">logging</a> in, you can 
       <a href="http://localhost:50316/Games/StartNewGame">create</a> a game yourself, join a game from thethe game <a href="http://localhost:50316/Games/Lobby">lobby</a> or join a game you've been invited to. 
       On the main page you can see news about upcoming games and other information we want to communicate to the people who visit our site.
    </p>
    <p>
      Other fun things you can see on the page is the leaderboard where you can see which players have earned the most points. Also you can check out a <a href="http://localhost:50316/Home/PlayerList">
      list of all the player on the site</a> and view their profiles. Here below you can see our FAQ, where we answer some common questions about how the site works and how to work your way through the site.
    </p>
</div>     

<div>
    <h2>Rules of the site</h2>
</div>

<div class="aboutBox">
    <p>
       The rules of the site are simple, show respect to other players on the chat, do not frequently quit games when they have not finished.
        The penalty for a bad conduct can result in a permanent ban on the site.
    </p>
</div>



<div>
    <h2>FAQ</h2>
</div>

<div class="aboutBox">
    <dl>
@foreach (var FAQ in Model) 
{
        <dt>@FAQ.Question</dt>
        <dd>
          <p>@FAQ.Answer</p>
        </dd>

        
}
        </dl>
</div>

@section JavaScript
{
     <script src="@Url.Content("~/Scripts/FAQScript.js")" type="text/javascript"></script>
}